﻿using System;
using Microsoft.Xna.Framework;

namespace Serious
{
    public abstract class Camera3D
    {
        public abstract Vector3 to { get; }
        public abstract Vector3 from { get; }
        public abstract Vector3 up { get; }

        public virtual Matrix ViewMatrix
        {
            get
            {
                return Matrix.CreateLookAt(this.from, this.to, this.up);
            }
        }
    }
}
